package system

import (
	"github.com/gin-gonic/gin"
	"server/api"
)

type MenuGroupRouter struct {
}

func (s *MenuGroupRouter) InitMenuGroupRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	R = Router.Group("sys-menu-group")
	//菜单分组
	var menuGroupApi = api.ApiGroupApp.SystemApiGroup.MenuGroupApi
	{
		R.GET("index", menuGroupApi.Index)
		R.POST("save", menuGroupApi.Save)
		R.POST("destroy", menuGroupApi.Destroy)
	}
	return
}
